package org.bud.rung.netty.client;

import com.alibaba.fastjson.JSON;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import lombok.extern.slf4j.Slf4j;
import org.bud.rung.bit.JobMethod;
import org.bud.rung.bit.JobRequest;
import org.bud.rung.bit.R;
import org.bud.rung.constant.Constant;

/**
 * @author shaun
 * @date 2024/8/10
 * @instruction
 */
@Slf4j
public class ClientInHandler extends SimpleChannelInboundHandler<R> {
    protected void channelRead0(ChannelHandlerContext channelHandlerContext, R r) throws Exception {
        log.info(JSON.toJSONString(r));
    }
}
